package net.toby200.canalstoppages.model;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Cache;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;

/**
 * We want to handle notices in transactions which requires a common parent entity.
 * 
 * This class is only used to provide that parent entity
 * @author toby
 *
 */
@Entity
@Cache
public class ParentEntity {
	private static final String ID = "parent";
	public static Key<ParentEntity> getKey() {
		return Key.create(ParentEntity.class, ParentEntity.ID);
	}
	@Id private String id = ID;
}
